/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ifpe.transaction;

/**
 *
 * @author Sostenes
 */
public class TransactionManagerFactory {
    
    private static TransactionManagerFactory instance;

    private TransactionManagerFactory() {
    }

    public static synchronized TransactionManagerFactory getInstance() {
        if (instance == null)
            instance = new TransactionManagerFactory();
        return instance;
    }

    public TransactionManager createTransactionManager() {
        return new TransactionManagerImpl();
    }
}
